package cn.px.hro.sign_main.domain;

import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.px.common.annotation.Excel;
import cn.px.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * 签约主体对象 hro_sign_main
 *
 * @author ruoyi
 * @date 2023-06-10
 */
public class HroSignMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 签约主体名称 */
    @Excel(name = "签约主体名称")
    private String name;

    /** 启用状态:0未启用,1启用 */
    private String status;

    /** 注册省area_id */
    private Long registerProvince;

    /** 注册市area_id */
    private Long registerCity;

    /** 会计id sys_user_id */
    private Long accountantId;
    /** 附加税率 */
    private BigDecimal additionalTaxRate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setRegisterProvince(Long registerProvince)
    {
        this.registerProvince = registerProvince;
    }

    public Long getRegisterProvince()
    {
        return registerProvince;
    }
    public void setRegisterCity(Long registerCity)
    {
        this.registerCity = registerCity;
    }

    public Long getRegisterCity()
    {
        return registerCity;
    }
    public void setAccountantId(Long accountantId)
    {
        this.accountantId = accountantId;
    }

    public Long getAccountantId()
    {
        return accountantId;
    }

    public void setAdditionalTaxRate(BigDecimal additionalTaxRate)
    {
        this.additionalTaxRate = additionalTaxRate;
    }

    public BigDecimal getAdditionalTaxRate()
    {
        return additionalTaxRate;
    }
    /** 社保缴费比例企业、个人*/
    @Getter
    @Setter
    private BigDecimal yangLaoPayProportionEtp;
    @Getter
    @Setter
    private BigDecimal yangLaoPayProportionPsn;
    @Getter
    @Setter
    private BigDecimal yiLiaoPayProportionEtp;
    @Getter
    @Setter
    private BigDecimal yiLiaoPayProportionPsn;
    @Getter
    @Setter
    private BigDecimal shiYePayProportionEtp;
    @Getter
    @Setter
    private BigDecimal shiYePayProportionPsn;
    @Getter
    @Setter
    private BigDecimal gongShangPayProportionEtp;
    @Getter
    @Setter
    private BigDecimal shengYuPayProportionEtp;
    /** 公积金缴费比例企业、个人*/
    @Getter
    @Setter
    private BigDecimal afPayProportionEtp;
    @Getter
    @Setter
    private BigDecimal afPayProportionPsn;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("registerProvince", getRegisterProvince())
            .append("registerCity", getRegisterCity())
            .append("accountantId", getAccountantId())
            .append("additionalTaxRate",getAdditionalTaxRate())
                .append("yangLaoPayProportionEtp",getYangLaoPayProportionEtp())
                .append("yangLaoPayProportionPsn",getYangLaoPayProportionPsn())
                .append("yiLiaoPayProportionEtp",getYiLiaoPayProportionEtp())
                .append("yiLiaoPayProportionPsn",getYiLiaoPayProportionPsn())
                .append("shiYePayProportionEtp",getShiYePayProportionEtp())
                .append("shiYePayProportionPsn",getShiYePayProportionPsn())
                .append("gongShangPayProportionEtp",getGongShangPayProportionEtp())
                .append("shengYuPayProportionEtp",getShengYuPayProportionEtp())
                .append("afPayProportionEtp",getAfPayProportionEtp())
                .append("afPayProportionPsn",getAfPayProportionPsn())
                .toString();
    }
    /**
     * 全地址
     */
    @Getter
    @Setter
    private String fullAddress;

    /**
     * 财务人员名字
     */
    @Getter
    @Setter
    @Excel(name = "会计")
    private String accountName;
    /**
     * 注册省名称
     */
    @Getter
    @Setter
    @Excel(name = "注册省")
    private String registerProvinceName;
    /**
     * 注册市名称
     */
    @Getter
    @Setter
    @Excel(name = "注册市")
    private String registerCityName;

    @Getter
    @Setter
    private List<Long> ids;

}
